package org.dromara.product.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.product.domain.KyStockOutRelations;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 出库关系视图对象 ky_stock_out_relations
 *
 * @author kuyu
 * @date 2023-12-29
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = KyStockOutRelations.class)
public class KyStockOutRelationsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @ExcelProperty(value = "编号")
    private Long id;

    /**
     * 出库单单号
     */
    @ExcelProperty(value = "出库单单号")
    private String outStockNo;

    /**
     * 出库单id
     */
    @ExcelProperty(value = "出库单id")
    private Long outRecordId;

    /**
     * 产品
     */
    @ExcelProperty(value = "产品")
    private Long productId;

    /**
     * 出库数量
     */
    @ExcelProperty(value = "出库数量")
    private BigDecimal number;

    /**
     * 当前入库记录出库数量：
     */
    @ExcelProperty(value = "当前入库记录出库数量：")
    private BigDecimal buforeNum;

    /**
     * 采购价
     */
    @ExcelProperty(value = "采购价")
    private BigDecimal price;

    /**
     * 总金额
     */
    @ExcelProperty(value = "总金额")
    private BigDecimal totalMoney;

    /**
     * 入库批次
     */
    @ExcelProperty(value = "入库批次")
    private String bathInNo;

    /**
     * 出库状态：拒绝-1,申请0,审核中1,通过2
     */
    @ExcelProperty(value = "出库状态：拒绝-1,申请0,审核中1,通过2")
    private Integer status;

    /**
     * 审核等级
     */
    @ExcelProperty(value = "审核等级")
    private Integer approveLevel;

    /**
     * 单据打印次数
     */
    @ExcelProperty(value = "单据打印次数")
    private Long printNum;

    /**
     * 商品名称{name:'',categoty:'',unit:''}
     */
    @ExcelProperty(value = "商品名称{name:'',categoty:'',unit:''}")
    private String productInfo;

    /**
     * 调拨关联入库id
     */
    @ExcelProperty(value = "调拨关联入库id")
    private Long stockInId;

    /**
     * 图片
     */
    @ExcelProperty(value = "图片")
    private String images;

    /**
     * 出库类型
     */
    @ExcelProperty(value = "出库类型")
    private Long outTypeId;

    /**
     * 仓库
     */
    @ExcelProperty(value = "仓库")
    private Long warehouseId;

    /**
     * 库位
     */
    @ExcelProperty(value = "库位")
    private Long zoneId;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String mark;

    /**
     * 客户
     */
    @ExcelProperty(value = "客户")
    private Long customerId;

    /**
     * 用户
     */
    @ExcelProperty(value = "用户")
    private Long mid;

    /**
     * 
     */
    @ExcelProperty(value = "")
    private String item;

    /**
     * 自定义
     */
    @ExcelProperty(value = "自定义")
    private String custom;

    /**
     * 
     */
    @ExcelProperty(value = "")
    private Date deletedAt;

    /**
     * 来源仓库
     */
    @ExcelProperty(value = "来源仓库")
    private Long fromWarehouseId;

    /**
     * 来源库位
     */
    @ExcelProperty(value = "来源库位")
    private Long fromZoneId;


}
